home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include <stdlib.h>
- #include "colors.h"
-
- #define TIME 100
- #define VERSION "v1.3"
-
- char *ProgName;
-
- void intro(void)
- {
- register int i, k;
- register int rand;
- char buf[7][7];
-
- for (k = 0; k < 20; k++) {
- for (i = 0; i < 9; i++ ) {
- repeat:
- rand = random() % 37;
- if ((rand >= 31) && (rand <= 37))
- sprintf(buf[i], "\033[%dm\033[1m", rand);
- else goto repeat;
- }
-
- printf("\t\t%sS ", buf[0]);
- usleep(TIME);
- fflush(stdout);
-
- printf("%sh ", buf[1]);
- usleep(TIME);
- fflush(stdout);
-
- printf("%so ", buf[2]);
- usleep(TIME);
- fflush(stdout);
-
- printf("%sk ", buf[3]);
- usleep(TIME);
- fflush(stdout);
-
- printf("%sD ", buf[4]);
- usleep(TIME);
- fflush(stdout);
-
- printf("%si ", buf[5]);
- usleep(TIME);
- fflush(stdout);
-
- printf("%sa ", buf[6]);
- usleep(TIME);
- fflush(stdout);
-
- printf("%sl ", buf[7]);
- usleep(TIME);
- fflush(stdout);
-
- printf("%s %s%s %sf%so%sr %sU%sN%si%sX%s\r",
- BOLDBLUE, VERSION, NORMAL, PINK, BOLDCYAN, BOLDGREEN, PINK,
- BOLDGREEN, BOLDWHITE, BOLDBLUE, NORMAL);
-
- fflush(stdout);
- }
-
-
- putchar('\n');
- printf("\t\t------------------------------\n");
- printf("\nWell what you do here, is enter 0000 for the range to begin\n");
- printf("scanning and 9999 to end scanning if you want to scan all the\n");
- printf("possible ranges, but you can put 4444 for the nmber to start\n");
- printf("and 5555 for the number to begin to scan XXX-[4444-5555] for\n");
- printf("local numbers and it would be 1-XXX-XXX-[4444-5555] for long\n");
- printf("distance.\n");
- printf("\nAlso, you can use random scanning (as opposed to sequential\n");
- printf("scanning) by specifying the \"%s-r%s\" option...type:\n", PINK, NORMAL);
- printf("%s%s%s -h %sfor %shelp%s.\n\n", BOLDRED, ProgName, BOLDRED, NORMAL, BOLDCYAN, NORMAL);
- printf("Anywayz...enjoy!\n");
- printf("\t\t%s--==+*~(%sShok%s)~*+==--%s\n\n", BOLDBLUE, BOLDWHITE, BOLDBLUE, NORMAL);
-
- printf("Hit enter to continue...\n");
- getchar();
- return;
- }
-
- void main(int argc, char **argv)
- {
- ProgName = argv[0];
- system("/usr/bin/clear");
- sleep(1);
- intro();
- }
-